/**
 * Created by QIAODI on 8/24/2016.
 */
const Stomp = require("stomp-client");
var dishAuditDest = "/queue/dishAd.queue";
var client = new Stomp("zha-ita113-w7", 61613, '', '');

function dishJms(dish) {
    client.connect(function(sessionId) {
    client.publish(dishAuditDest, dish);
});
}

module.exports = dishJms;